package com.songlanyun.modules.payorder.model.dto;

import com.songlanyun.common.drive.ValueObject;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Data
public class AdaPayKJPayConfirmDTO implements ValueObject {
    private Long payOrderId;

    @NotBlank(message = "没有参数paymentId")
    private String paymentId;

    @NotBlank(message = "请填写短信验证码")
    @Length(min = 4, max = 6, message = "短信验证码4-6位")
    private String smsCode;

}
